
//2025.3.22: 引入自定义的模块，方式四，导入文件夹下main属性对应的js文件
const dateToString = require("./timeutil");
//引入文件路径模块
const path = require("path");

console.log(dateToString);
console.log(dateToString(new Date()))
let filePath = path.resolve(__dirname, './timeutil/datetuil.js');
console.log('filePath=', filePath);
